load("@rules_cc//cc:defs.bzl", "cc_library")
load("//tools:cpplint.bzl", "cpplint")

package(default_visibility = ["//visibility:public"])

cc_library(
    name = "perf_event_cache",
    srcs = ["perf_event_cache.cc"],
    hdrs = ["perf_event_cache.h"],
    deps = [
        ":perf_event",
        "//cyber:state",
        "//cyber/base:bounded_queue",
        "//cyber/common:global_data",
        "//cyber/common:log",
        "//cyber/common:macros",
        "//cyber/time",
    ],
)

cc_library(
    name = "perf_event",
    hdrs = ["perf_event.h"],
    deps = [
        "//cyber/common:global_data",
    ],
)

cpplint()
